package com.shenglue.ssi.service;

import java.util.List;

import com.shenglue.ssi.domain.BuyInMain;
import com.shenglue.ssi.domain.DicCat;
import com.shenglue.ssi.domain.User;

public interface DicCatService {

	/**
	 * 查询所有经销商信息
	 */
	public List<DicCat> selectAllDicCat();

	/**
	 * 增加经销商记录
	 */
	public boolean saveDicCat(DicCat buyInMain);

	/**
	 * 删除经销商记录
	 */
	public boolean deleteDicCat(int buyInId);

	/**
	 * 修改经销商记录
	 */
	public boolean updateDicCat(DicCat buyInMain);

	/**
	 * 为修改，根据 Id 查一条 入库单主表记录
	 */
	public DicCat getOneDicCatForUpdate( int diccat );
	
}
